package com.dhecp.project.system.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.system.domain.SysHardWareRegisterInfo;
import java.util.List;
import java.util.Map;

/**
 * @ClassName SysHardWareRegisterInfoService
 * @Description TODO
 * @Author alula
 * @Date 2020-07-21 15:11
 */
public interface SysHardWareRegisterInfoService {

    List<SysHardWareRegisterInfo> querySysHardWareRegisterInfoList(Map<String, Object> params);

    SysHardWareRegisterInfo querySysHardWareRegisterInfoById(String id);

    SysHardWareRegisterInfo findSysHardWareRegisterInfoByHardInfo(String hardInfo);

    Boolean querySysHardWareRegisterInfoIsExistHardInfo(String hardInfo);

    AjaxResult  updateSysHardWareRegisterInfoByHardInfo(String hardInfo, String  rememberUser);

    //机器授权
    AjaxResult insertSysHardWareRegisterInfo(String unId);

    //取消授权
    AjaxResult deleteSysHardWareRegisterInfo(String id);

    List<SysHardWareRegisterInfo> querySysHardWareUnRegisterInfoList(Map<String, Object> params);

    AjaxResult insertSysHardWareUnRegisterInfo(SysHardWareRegisterInfo sysHardWareRegisterInfo);

    //删除待授权
    AjaxResult deleteSysHardWareUnRegisterInfo(String id);
}
